# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1353+1.1337.43.12 -> 1.1354 # include/linux/timex.h 1.5.1.4 -> 1.12 # drivers/serial/8250.c 1.34.1.7 -> 1.38 # kernel/sys.c 1.43.1.24 -> 1.54 # kernel/time.c 1.11.1.7 -> 1.19 # mm/memory.c 1.123.1.17 -> 1.135 # drivers/char/mem.c 1.42.1.3 -> 1.46 # drivers/net/tg3.c 1.72.1.36 -> 1.79 # mm/mmap.c 1.85.1.8 -> 1.91 # Makefile 1.410.1.27 -> 1.424 # mm/slab.c 1.93.1.17 -> 1.102 # kernel/sched.c 1.193.1.29 -> 1.205 # drivers/char/drm/drm_drv.h 1.20.1.6 -> 1.26 # kernel/timer.c 1.59.1.13 -> 1.70 # include/asm-i386/hw_irq.h 1.21.1.4 -> 1.27 # diff -Nru a/mm/memory.c b/mm/memory.c --- a/mm/memory.c Tue Oct 28 00:39:20 2003 +++ b/mm/memory.c Tue Oct 28 00:39:20 2003 @@ -121,8 +121,10 @@ } pmd = pmd_offset(dir, 0); pgd_clear(dir); - for (j = 0; j < PTRS_PER_PMD ; j++) + for (j = 0; j < PTRS_PER_PMD ; j++) { + prefetchw(pmd + j + PREFETCH_STRIDE/sizeof(*pmd)); free_one_pmd(tlb, pmd+j); + } pmd_free_tlb(tlb, pmd); }